package com.steerinfo.dil.model;

import com.steerinfo.framework.model.IBasePO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;

@ApiModel(value="null")
public class ScTask implements IBasePO<BigDecimal> {
    /**
     * ID(TIMINGID,DECIMAL,38)
     */
    @ApiModelProperty(value="ID",required=true)
    private BigDecimal timingid;

    /**
     * 定时cron(TIMINGCRON,VARCHAR,255)
     */
    @ApiModelProperty(value="定时cron",required=true)
    private String timingcron;

    /**
     * 状态(STATUS,VARCHAR,255)
     */
    @ApiModelProperty(value="状态",required=false)
    private String status;

    /**
     * 描述(DESCRIPTION,VARCHAR,255)
     */
    @ApiModelProperty(value="描述",required=true)
    private String description;

    @ApiModelProperty(value="",required=false)
    private String alternateFields1;

    @ApiModelProperty(value="",required=false)
    private String alternateFields2;

    @ApiModelProperty(value="",required=false)
    private String alternateFields3;

    @ApiModelProperty(value="",required=false)
    private String alternateFields4;

    @ApiModelProperty(value="",required=false)
    private String tableName;

    /**
     * 删除(DELETED,DECIMAL,38)
     */
    @ApiModelProperty(value="删除",required=false)
    private BigDecimal deleted;

    private static final long serialVersionUID = 1L;

    @Override
    public BigDecimal getId() {
        return this.timingid;
    }

    @Override
    public void setId(BigDecimal timingid) {
        this.timingid = timingid;
    }

    public BigDecimal getTimingid() {
        return timingid;
    }

    public void setTimingid(BigDecimal timingid) {
        this.timingid = timingid;
    }

    public String getTimingcron() {
        return timingcron;
    }

    public void setTimingcron(String timingcron) {
        this.timingcron = timingcron == null ? null : timingcron.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getAlternateFields1() {
        return alternateFields1;
    }

    public void setAlternateFields1(String alternateFields1) {
        this.alternateFields1 = alternateFields1 == null ? null : alternateFields1.trim();
    }

    public String getAlternateFields2() {
        return alternateFields2;
    }

    public void setAlternateFields2(String alternateFields2) {
        this.alternateFields2 = alternateFields2 == null ? null : alternateFields2.trim();
    }

    public String getAlternateFields3() {
        return alternateFields3;
    }

    public void setAlternateFields3(String alternateFields3) {
        this.alternateFields3 = alternateFields3 == null ? null : alternateFields3.trim();
    }

    public String getAlternateFields4() {
        return alternateFields4;
    }

    public void setAlternateFields4(String alternateFields4) {
        this.alternateFields4 = alternateFields4 == null ? null : alternateFields4.trim();
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName == null ? null : tableName.trim();
    }

    public BigDecimal getDeleted() {
        return deleted;
    }

    public void setDeleted(BigDecimal deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", timingid=").append(timingid);
        sb.append(", timingcron=").append(timingcron);
        sb.append(", status=").append(status);
        sb.append(", description=").append(description);
        sb.append(", alternateFields1=").append(alternateFields1);
        sb.append(", alternateFields2=").append(alternateFields2);
        sb.append(", alternateFields3=").append(alternateFields3);
        sb.append(", alternateFields4=").append(alternateFields4);
        sb.append(", tableName=").append(tableName);
        sb.append(", deleted=").append(deleted);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}